Problem Note 32552: The PC File Server fails to connect when the server name is greater than 31 characters
The PC File Server fails when the server name specified in the IMPORT procedure's SERVER= option is more than 31 characters.
When you use the IMPORT and EXPORT procedures with the PC File Server, you use the SERVER= option to specify the connecting server, as shown:
proc export dbms=excelcs
data=sasuser.baseball
outfile="c:\sastest\testpcserver.xls" replace;
sheet=mydata;
server="averlongservername.myservera.com";
port=8621;
run;
If the server name is more than 31 characters, you can receive the following error message:
ERROR: Failed to connect to the Server: averlongservername.myservera.co
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
In the message, the original server name (in this case, averlongservername.myservera.com) is truncated to averlongservername.myservera.co.
To circumvent the problem, you need to specify an IP Address in the SERVER= option rather
than the fully qualified server name, as shown in this example:
proc export dbms=excelcs
data=sashelp.class
outfile="c:\sastest\testpcserver.xls" replace;
sheet=class;
server="10.11.13.39";
port=8621;
run;
Operating System and Release Information
SAS System | Base SAS | 64-bit Enabled AIX | 9.1 TS1M3 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M3 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M3 | 9.3 TS1M0 |
HP-UX IPF | 9.1 TS1M3 | 9.3 TS1M0 |
Linux | 9.1 TS1M3 | 9.3 TS1M0 |
OpenVMS Alpha | 9.1 TS1M3 | 9.3 TS1M0 |
Solaris for x64 | 9.1 TS1M3 | 9.3 TS1M0 |
Tru64 UNIX | 9.1 TS1M3 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The PC File Server fails when the server name specified in the IMPORT procedure's SERVER= option is more than 31 characters.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2008-06-27 15:40:27 |
Date Created: | 2008-06-25 14:19:16 |